package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.DictJobDao;
import io.renren.entity.DictJobEntity;
import io.renren.service.DictJobService;



@Service("dictJobService")
public class DictJobServiceImpl implements DictJobService {
	@Autowired
	private DictJobDao dictJobDao;
	
	@Override
	public DictJobEntity queryObject(String id){
		return dictJobDao.queryObject(id);
	}
	
	@Override
	public List<DictJobEntity> queryList(Map<String, Object> map){
		return dictJobDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return dictJobDao.queryTotal(map);
	}
	
	@Override
	public void save(DictJobEntity dictJob){
		dictJobDao.save(dictJob);
	}
	
	@Override
	public void update(DictJobEntity dictJob){
		dictJobDao.update(dictJob);
	}
	
	@Override
	public void delete(String id){
		dictJobDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		dictJobDao.deleteBatch(ids);
	}
	
}
